package com.zhuss.outer.db.dao.ext;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.zhuss.bean.vo.outer.outer.DetailOuterAppendVo;
import com.zhuss.outer.db.dao.gen.OuterAppendMapper;
import com.zhuss.outer.db.entity.OuterAppend;

@Mapper
public interface OuterAppendDao extends OuterAppendMapper {
	
	void create(OuterAppend record);
	
	void delete(OuterAppend record);
	
	DetailOuterAppendVo getByType(@Param("type") Integer type, @Param("outerId") Long outerId, @Param("creatorId") Long creatorId);
	
	List<DetailOuterAppendVo> listByType(@Param("type") Integer type, @Param("outerId") Long outerId, @Param("creatorId") Long creatorId);
	
	List<OuterAppend> listAll(@Param("area") Integer area);
	
	DetailOuterAppendVo detail(@Param("outerAppendId") Long outerAppendId);

    
}